﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="Attachment.aspx.cs" Inherits="EWMSWeb.Hardware.Attachment" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            height: 12px;
        }
    </style>
      <script type="text/javascript" src="/jquery/jquery.dataTables.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<h2>附件查询</h2>
<div class="shadow">
    <table  class="display" id="tabAccachment" style="width:100%">
     <thead>
        <tr>
            <th class="style1">序号</th>
            <th class="style1">单号</th>
            <th class="style1">处理编号</th>
            <th class="style1">附件名</th>
            <th class="style1">产生环节</th>
            <th class="style1">操作</th>
        </tr>
    </thead>
       <asp:Repeater ID="rept" runat="server">
       <ItemTemplate>
        <tr>
            <td><%# Container.ItemIndex + 1 %></td>
            <td><%# Eval("HardNo")%></td>
            <td><%# Eval("BillNo")%></td>
            <td><%# Eval("AttacheName")%></td>
            <td><%# Eval("CreateStep")%></td>
            <td><a href='/upload/Hard/<%# Eval("BillNo") %>/<%# Eval("AttacheName")%>'>下载</a></td>
        </tr>
    </ItemTemplate>
    </asp:Repeater>
    </table>
</div>
     <script type="text/javascript">

         $(document).ready(function () {

             $('#tabAccachment').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                 "bJQueryUI": true,
                 "sPaginationType": "full_numbers",
                 'bPaginate': true,
                 "bProcessing": true,
                 "iDisplayLength": 10,
                 "bSort": true,

                 "aaSorting": [[0, "asc"]]
             });

         });
 
</script>
</asp:Content>
